Platform Explorer / Nuxeo Platform 2023.8

Component org.nuxeo.ecm.platform.htmlsanitizer.config

Resolution Order

377
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.htmlsanitizer.config"
  version="1.0.0">

  <extension target="org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerService"
    point="antisamy">
    <antisamy policy="antisamy-nuxeo-policy.xml" />
  </extension>

  <extension target="org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerService"
    point="sanitizer">
    <sanitizer name="default">
      <!-- <field>dc:description</field> -->
      <field filter="mime_type" filterValue="text/plain,text/x-web-markdown,text/xml" sanitize="false">note</field>
      <field>webc:welcomeText</field>
      <field filter="webp:isRichtext" filterValue="true">webp:content</field>
      <field>comment:text</field>
      <!-- <field>post:text</field> -->
    </sanitizer>
  </extension>

</component>